def remove_chars(main_string, remove_string):
    for char in remove_string:
        main_string = main_string.replace(char, '')
    return main_string

str1 = input("请输入第一个字符串: ")
str2 = input("请输入第二个字符串: ")

result = remove_chars(str1, str2)
print("删除之后的字符串为:", result)